package com.shop.loan.model.entity;

import lombok.Data;

import java.util.Date;

@Data
public class EruptUserByMybatis {
    /**
     *
     */
    private Long id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     *
     */
    private Date updateTime;

    /**
     * 用户名
     */
    private String account;

    /**
     *
     */
    private Date deleteTime;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 账号失效时间
     */
    private Date expireDate;

    /**
     * 超管用户
     */
    private Boolean isAdmin;

    /**
     *
     */
    private Boolean isDelete;

    /**
     * md5加密
     */
    private Boolean isMd5;

    /**
     * 姓名
     */
    private String name;

    /**
     *
     */
    private String password;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 备注
     */
    private String remark;

    /**
     * 重置密码时间
     */
    private Date resetPwdTime;

    /**
     * 账户状态
     */
    private Boolean status;

    /**
     * ip白名单
     */
    private String whiteIp;

    /**
     * 创建人
     */
    private Long createUserId;

    /**
     *
     */
    private Long updateUserId;

    /**
     * 渠道
     */
    private Long channelId;

    /**
     * 首页菜单
     */
    private Long eruptMenuId;

    /**
     * 所属组织
     */
    private Long eruptOrgId;

    /**
     * 岗位
     */
    private Long eruptPostId;

    /**
     *
     */
    private String loanPassword;

    /**
     *
     */
    private String payPassword;

    private String serviceQrCode;

    private String msgCode;

    public EruptUserByMybatis(Long id, Date createTime, Date updateTime, String account, Date deleteTime, String email, Date expireDate, Boolean isAdmin, Boolean isDelete,
                              Boolean isMd5, String name, String password, String phone, String remark, Date resetPwdTime, Boolean status, String whiteIp, Long createUserId,
                              Long updateUserId, Long channelId, Long eruptMenuId, Long eruptOrgId, Long eruptPostId, String loanPassword, String payPassword, String serviceQrCode,
                              String msgCode) {
        this.id = id;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.account = account;
        this.deleteTime = deleteTime;
        this.email = email;
        this.expireDate = expireDate;
        this.isAdmin = isAdmin;
        this.isDelete = isDelete;
        this.isMd5 = isMd5;
        this.name = name;
        this.password = password;
        this.phone = phone;
        this.remark = remark;
        this.resetPwdTime = resetPwdTime;
        this.status = status;
        this.whiteIp = whiteIp;
        this.createUserId = createUserId;
        this.updateUserId = updateUserId;
        this.channelId = channelId;
        this.eruptMenuId = eruptMenuId;
        this.eruptOrgId = eruptOrgId;
        this.eruptPostId = eruptPostId;
        this.loanPassword = loanPassword;
        this.payPassword = payPassword;
        this.serviceQrCode = serviceQrCode;
        this.msgCode = msgCode;
    }

    public EruptUserByMybatis() {
        super();
    }

    /**
     * 获取
     *
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取创建时间
     *
     * @return create_time 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     *
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     *
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取用户名
     *
     * @return account 用户名
     */
    public String getAccount() {
        return account;
    }

    /**
     * 设置用户名
     *
     * @param account 用户名
     */
    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    /**
     * 获取
     *
     * @return delete_time
     */
    public Date getDeleteTime() {
        return deleteTime;
    }

    /**
     * 设置
     *
     * @param deleteTime
     */
    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    /**
     * 获取邮箱
     *
     * @return email 邮箱
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置邮箱
     *
     * @param email 邮箱
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     * 获取账号失效时间
     *
     * @return expire_date 账号失效时间
     */
    public Date getExpireDate() {
        return expireDate;
    }

    /**
     * 设置账号失效时间
     *
     * @param expireDate 账号失效时间
     */
    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    /**
     * 获取超管用户
     *
     * @return is_admin 超管用户
     */
    public Boolean getIsAdmin() {
        return isAdmin;
    }

    /**
     * 设置超管用户
     *
     * @param isAdmin 超管用户
     */
    public void setIsAdmin(Boolean isAdmin) {
        this.isAdmin = isAdmin;
    }

    /**
     * 获取
     *
     * @return is_delete
     */
    public Boolean getIsDelete() {
        return isDelete;
    }

    /**
     * 设置
     *
     * @param isDelete
     */
    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 获取md5加密
     *
     * @return is_md5 md5加密
     */
    public Boolean getIsMd5() {
        return isMd5;
    }

    /**
     * 设置md5加密
     *
     * @param isMd5 md5加密
     */
    public void setIsMd5(Boolean isMd5) {
        this.isMd5 = isMd5;
    }

    /**
     * 获取姓名
     *
     * @return name 姓名
     */
    public String getName() {
        return name;
    }

    /**
     * 设置姓名
     *
     * @param name 姓名
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 获取
     *
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     *
     * @param password
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * 获取手机号码
     *
     * @return phone 手机号码
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置手机号码
     *
     * @param phone 手机号码
     */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /**
     * 获取备注
     *
     * @return remark 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     *
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 获取重置密码时间
     *
     * @return reset_pwd_time 重置密码时间
     */
    public Date getResetPwdTime() {
        return resetPwdTime;
    }

    /**
     * 设置重置密码时间
     *
     * @param resetPwdTime 重置密码时间
     */
    public void setResetPwdTime(Date resetPwdTime) {
        this.resetPwdTime = resetPwdTime;
    }

    /**
     * 获取账户状态
     *
     * @return status 账户状态
     */
    public Boolean getStatus() {
        return status;
    }

    /**
     * 设置账户状态
     *
     * @param status 账户状态
     */
    public void setStatus(Boolean status) {
        this.status = status;
    }

    /**
     * 获取ip白名单
     *
     * @return white_ip ip白名单
     */
    public String getWhiteIp() {
        return whiteIp;
    }

    /**
     * 设置ip白名单
     *
     * @param whiteIp ip白名单
     */
    public void setWhiteIp(String whiteIp) {
        this.whiteIp = whiteIp == null ? null : whiteIp.trim();
    }

    /**
     * 获取创建人
     *
     * @return create_user_id 创建人
     */
    public Long getCreateUserId() {
        return createUserId;
    }

    /**
     * 设置创建人
     *
     * @param createUserId 创建人
     */
    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    /**
     * 获取
     *
     * @return update_user_id
     */
    public Long getUpdateUserId() {
        return updateUserId;
    }

    /**
     * 设置
     *
     * @param updateUserId
     */
    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    /**
     * 获取渠道
     *
     * @return channel_id 渠道
     */
    public Long getChannelId() {
        return channelId;
    }

    /**
     * 设置渠道
     *
     * @param channelId 渠道
     */
    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    /**
     * 获取首页菜单
     *
     * @return erupt_menu_id 首页菜单
     */
    public Long getEruptMenuId() {
        return eruptMenuId;
    }

    /**
     * 设置首页菜单
     *
     * @param eruptMenuId 首页菜单
     */
    public void setEruptMenuId(Long eruptMenuId) {
        this.eruptMenuId = eruptMenuId;
    }

    /**
     * 获取所属组织
     *
     * @return erupt_org_id 所属组织
     */
    public Long getEruptOrgId() {
        return eruptOrgId;
    }

    /**
     * 设置所属组织
     *
     * @param eruptOrgId 所属组织
     */
    public void setEruptOrgId(Long eruptOrgId) {
        this.eruptOrgId = eruptOrgId;
    }

    /**
     * 获取岗位
     *
     * @return erupt_post_id 岗位
     */
    public Long getEruptPostId() {
        return eruptPostId;
    }

    /**
     * 设置岗位
     *
     * @param eruptPostId 岗位
     */
    public void setEruptPostId(Long eruptPostId) {
        this.eruptPostId = eruptPostId;
    }

    /**
     * 获取
     *
     * @return loan_password
     */
    public String getLoanPassword() {
        return loanPassword;
    }

    /**
     * 设置
     *
     * @param loanPassword
     */
    public void setLoanPassword(String loanPassword) {
        this.loanPassword = loanPassword == null ? null : loanPassword.trim();
    }

    /**
     * 获取
     *
     * @return pay_password
     */
    public String getPayPassword() {
        return payPassword;
    }

    /**
     * 设置
     *
     * @param payPassword
     */
    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword == null ? null : payPassword.trim();
    }
}